Discard unread data of git cat-file (#29297)#29310
Merged
lunny merged 2 commits intogo-gitea:release/v1.21from Feb 22, 2024
Merged
Discard unread data of git cat-file (#29297)#29310lunny merged 2 commits intogo-gitea:release/v1.21from
git cat-file (#29297)#29310lunny merged 2 commits intogo-gitea:release/v1.21from
Conversation
Fixes go-gitea#29101 Related go-gitea#29298 Discard all read data to prevent misinterpreting existing data. Some discard calls were missing in error cases. --------- Co-authored-by: yp05327 <576951401@qq.com>
wxiaoguang
approved these changes
Feb 22, 2024
lunny
approved these changes
Feb 22, 2024
brechtvl
added a commit
to blender/gitea
that referenced
this pull request
Feb 23, 2024
…tea#29310)" This reverts commit ed5e0c8. This causes Edit File on larger files to time out.
|
Automatically locked because of our CONTRIBUTING guidelines |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport #29297 by @KN4CK3R
Fixes #29101
Related #29298
Discard all read data to prevent misinterpreting existing data. Some discard calls were missing in error cases.